package com.yspa.yspa.service.impl;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hsnn.medstgmini.util.Pagination;
import com.yspa.yspa.dao.YspaInterfaceDao;
import com.yspa.yspa.service.YspaInterfaceManager;

@Service("yspaInterfaceManager")
public class YspaInterfaceManagerImpl implements YspaInterfaceManager {

	@Autowired
	private YspaInterfaceDao dao;
	
	public Map<String, Object> getUserInfo2(Map<String, String> map) {
		return dao.getUserInfo(map);
	}
	@Override
	public Pagination getUserInfoList(Pagination page) {
		return dao.getUserInfoList(page);
	}
	public Pagination getHactivityList(Pagination page) {
		return dao.getHactivityList(page);
	}
	public Pagination getHPProEventList(Pagination page) {
		return dao.getHPProEventList(page);
	}
	public Pagination getHPMedicineSugList(Pagination page) {
		return dao.getHPMedicineSugList(page);
	}
	public Pagination getCalendarlogList(Pagination page) {
		return dao.getCalendarlogList(page);
	}
	public Pagination getMeasempList(Pagination page) {
		return dao.getMeasempList(page);
	}
	public Pagination getHPKnowledgeList(Pagination page) {
		return dao.getHPKnowledgeList(page);
	}
	public Pagination getFoodcalorList(Pagination page) {
		return dao.getFoodcalorList(page);
	}
	public Pagination getFoodclassList(Pagination page) {
		return dao.getFoodclassList(page);
	}
	public Pagination getFoodempList(Pagination page) {
		return dao.getFoodempList(page);
	}
	public Pagination getExerempList(Pagination page) {
		return dao.getExerempList(page);
	}
	public Pagination getEmpimeiList(Pagination page) {
		return dao.getEmpimeiList(page);
	}
	public Map<String, Object> getUserInfo(Long userno){
		return dao.getUserInfo(userno);
	}
	public void regditUserInfo(Pagination page){
		dao.regditUserInfo(page);
	}
	public void updateUserInfo(Pagination page){
		dao.updateUserInfo(page);
	}
	public void updateUserIMEI(Pagination page) {
		dao.updateUserIMEI(page);
	}
	public Map<String, Object> getEmpimeiInfo(Long rowid){
		return dao.getEmpimeiInfo(rowid);
	}
	
	public void updateEmpimeiInfo(Pagination page){
		dao.updateEmpimeiInfo(page);
	}
	public void updatePasswd(String userno, String passwd){
		dao.updatePasswd(userno, passwd);
	}
	public Map<String, Object> getBugroupInfo(Long rowid){
		return dao.getBugroupInfo(rowid);
	}
	public Map<String, Object> getEmpgroupInfo(Integer userno, String groupcd){
		return dao.getEmpgroupInfo(userno,groupcd);
	}
	public Map<String, Object> getDeptInfo(Long rowid){
		return dao.getDeptInfo(rowid);
	}
	public Map<String, Object> getMeasempInfo(Long rowid, String measure_id){
		return dao.getMeasempInfo(rowid, measure_id);
	}
	public Map<String, Object> getFoodempInfo(Long rowid){
		return dao.getFoodempInfo(rowid);
	}
	public Map<String, Object> getExerempInfo(Long rowid){
		return dao.getExerempInfo(rowid);
	}
	public Map<String, Object> getHactivityInfo(Long rowid){
		return dao.getHactivityInfo(rowid);
	}
	public Map<String, Object> getHPProEventInfo(Integer event_uid){
		return dao.getHPProEventInfo(event_uid);
	}
	public Map<String, Object> getHPMedicineSugInfo(Long rowid){
		return dao.getHPMedicineSugInfo(rowid);
	}
	public Map<String, Object> getCalendarlogInfo(Integer rowid){
		return dao.getCalendarlogInfo(rowid);
	}
	public Map<String, Object> getHPMeasureItemsInfo(String measure_id){
		return dao.getHPMeasureItemsInfo(measure_id);
	}
	public Map<String, Object> getHPKnowledgeInfo(Integer rowid, Long pro_userno){
		return dao.getHPKnowledgeInfo(rowid, pro_userno);
	}
	public Map<String, Object> getFoodcalorInfo(Long rowid){
		return dao.getFoodcalorInfo(rowid);
	}
	public List<Map<String, Object>> getHactivityList(String lastTime, String nowTime){
		return dao.getHactivityList(lastTime, nowTime);
	}
	public List<Map<String, Object>> getHPMedicineSugList(){
		return dao.getHPMedicineSugList();
	}
	public List<Map<String, Object>> getCalendarlogList(){
		return dao.getCalendarlogList();
	}
	public void saveLoginUser(String userId, String channelId){
		dao.saveLoginUser(userId, channelId);
	}
	public List<Map<String, Object>> getPushHPMedicineSugList(String lastTime, String nowTime){
			return dao.getPushHPMedicineSugList(lastTime, nowTime);
	}
	public List<Map<String, Object>> getPushCalendarlogList(String lastTime, String nowTime){
			return dao.getPushCalendarlogList(lastTime, nowTime);
	}
	public List<Map<String, Object>> getMeasempList(String lastTime, String nowTime){
		return dao.getMeasempList(lastTime, nowTime);
	}
	public List<Map<String, Object>> getFoodempList(String lastTime, String nowTime){
		return dao.getFoodempList(lastTime, nowTime);
	}
	public List<Map<String, Object>> getExerempList(String lastTime, String nowTime){
		return dao.getExerempList(lastTime, nowTime);
	}
	public List<Map<String, Object>> getHPProEventList(String lastTime, String nowTime){
		return dao.getHPProEventList(lastTime, nowTime);
	}
	public List<Map<String, Object>> getLoginUserList(){
		return dao.getLoginUserList();
	}
	public void deleteLoginUser(String userId){
		dao.deleteLoginUser(userId);
	}
	public List<Map<String, Object>> getMeasempList(Map<String, String> query) {
		return dao.getMeasempList(query);
	}
	public List<Map<String, Object>> getFoodempList(Map<String, String> query) {
		return dao.getFoodempList(query);
	}
	public List<Map<String, Object>> getExerempList(Map<String, String> query) {
		return dao.getExerempList(query);
	}
	public List<Map<String, Object>> getHPMeasureItemsList(Map<String, String> query) {
		return dao.getHPMeasureItemsList(query);
	}
	public String getLastWorkTime(){
		return dao.getLastWorkTime();
	}
	public void updateWorkTime(String nowTime){
		dao.updateWorkTime(nowTime);
	}
	
}
